package com.power.thread.concept;

public class RunnableDemo implements Runnable {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }
    public static void main(String[] args) {
        //RunnableDemo runnableDemo = new RunnableDemo();
        Thread thread = new Thread(new RunnableDemo());
        thread.start();
    }
}
